/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package session07;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 *
 * @author macbookpro
 */
@Retention(RetentionPolicy.SOURCE)
@interface Test_Retention {

    String v1();
}

public class RetentationTest {

    @Test_Retention(v1 = "Hello")
    public void thu() {
        System.out.println("Test annotations");
    }
}

class RetentionAnno {

    public static void main(String args[]) {
        new RetentationTest().thu();

    }
}
